<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
    <link  rel="stylesheet" href="<%=path%>/assets/layuiadmin/layui/css/modules/formSelects/formSelects-v4.css">
</head>
<body>
<div class="layui-form" lay-filter="layuiadmin-form-data" id="layuiadmin-form-data" style="padding: 20px 30px 0 0;">
    <input type="number" name="userId" id="userId" style="display: none;"/>
    <input type="number" name="status" id="status" style="display: none;"/>
    
    <div class="layui-form-item">
        <label class="layui-form-label">封禁类型</label>
        <div class="layui-input-block">
            <input type="radio" name="type" value="-1" title="解禁" class="layui-input" lay-filter="type">
            <input type="radio" name="type" value="0" title="永久封禁" class="layui-input" lay-filter="type">
            <input type="radio" name="type" value="1" title="临时封禁" class="layui-input" lay-filter="type">
        </div>
    </div>
    <div class="layui-form-item type1" style="display: none;">
        <label class="layui-form-label">封禁时间(小时)</label>
        <div class="layui-input-block">
            <input type="number" name="hour" id="hour" class="layui-input"  autocomplete="off" lay-verify="hour">
        </div>
    </div>
    <div class="layui-form-item type2" style="display: none;">
        <label class="layui-form-label">撤回全部IM消息</label>
        <div class="layui-input-block">
            <input type="radio" name="recall" value="0" title="否" class="layui-input" checked>
            <input type="radio" name="recall" value="1" title="是" class="layui-input" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">原因</label>
        <div class="layui-input-block">
            <textarea name="reason" id="reason" placeholder="请输入" class="layui-textarea" lay-verify="required" autocomplete="off"></textarea>
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <button class="layui-btn" lay-submit="" lay-filter="data-submit" id="data-submit">提交</button>
    </div>
</div>

<script src="<%=path%>/js/usermanage/user/updateStatus.js?v=1.1.0"></script>
</body>
</html>
